package com.taotao.portal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class PageController {

	/**
	 * 通用页面跳转方法 
	 * @param pageName
	 * @return
	 */
	@RequestMapping(value = "{pageName}")
	public String toPage(@PathVariable("pageName") String pageName) {
		return pageName;
	}
}

